<table width="680" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="2">
		<h2>欢迎注册新用户</h2>
		</td>
	</tr>
	<tr>
		<td colspan="2" class="dot_dash">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="2" id="check">&nbsp;</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>用户名：</li>
		</td>
		<td height="32" class="maintext"><input id="name" name="user[name]"
			onMouseOut="this.style.backgroundColor = '';"
			onMouseOver="this.style.backgroundColor = '#E5F0FF';" size="20"
			type="text" />&nbsp;&nbsp;(&nbsp;<%= link_to_remote "检查用户名", :update => 'check',:url=>{:controller=>"login", :action => "check_user"},:with=>"'name='+$F('name')"%>
		)</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>输入密码：</li>
		</td>
		<td height="32" class="maintext"><%= password_field 'user', 'password',:size=>"20"  ,:id=>"createpassword", 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%>&nbsp;&nbsp;(请使用六位以上的密码)</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>确认密码：</li>
		</td>
		<td height="32"><%= password_field 'user', 'password_confirmation',:size=>"20"  , 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>电子邮件地址：</li>
		</td>
		<td height="32" class="maintext"><%= text_field 'user', 'email'  , 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%>&nbsp;&nbsp;(电子邮件仅用于本站确认，以及用户联系，并不作他用)</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>姓名：</li>
		</td>
		<td height="32"><%= text_field 'profile', 'name',:size=>"20" , 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>生日：</li>
		</td>
		<td height="32"><%= date_select 'profile', 'tbirthday',:start_year=>1945,:order => [:year, :month, :day] %>
		</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>性别：</li>
		</td>
		<td height="32" class="maintext">男<%= radio_button 'profile', 'tsex', 1 , :checked=>1 %>
		女<%= radio_button 'profile', 'tsex', 0 %></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>工作年份：</li>
		</td>
		<td height="32"><%= select 'profile', 'texperience',1960..Time.now.year %></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>教育背景：</li>
		</td>
		<td height="32"><%= 
    @eudcations = Education.find(:all).map {|u| [u.name, u.id] }
    select 'profile', 'teducation_id',@eudcations 
    %></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>海外经历：</li>
		</td>
		<td height="32"><%= 
    @overseas = Oversea.find(:all).map {|u| [u.name, u.id] }
    select 'profile', 'toversea_id',@overseas 
    %></td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>是否公开资料：</li>
		</td>
		<td height="32" class="maintext">是<%= radio_button 'user', 'anonymous', 0 , :checked=>1 %>
		否<%= radio_button 'user', 'anonymous', 1 %>&nbsp;&nbsp;(&nbsp;<a
			href="javascript:openAlert('薪情在线网站仅仅是一个提供用户分析以及分享个人薪资状况的平台，对于网站中用户发布的数据，评论以及相关信息带来的影响，薪情在线网站不承担责任。网站用户是其提供信息的权利人，未经用户许可，任何机构或个人均不得为商业目的（含潜在商业目的）使用网站中用户发布的信息。同时，用户有权利隐去个人信息，网站有义务尽最大限度保护匿名的用户信息。',350,135)">网站申明</a>
		)</td>
	</tr>
	<tr>
		<td width="120" height="32" class="maintext">
		<li>标签&nbsp;[<%= link_to_remote "?", :update => 'check',:url=>{:controller=>"index", :action => "post_tag_notice"}%>]&nbsp;：</li>
		</td>
		<td height="32" class="maintext"><%= text_field 'user', 'search_tag'  , 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%>
		(使用空格分隔，标签可以让其他用户方便地找到这些信息)</td>
	</tr>
</table>
</br>
